package com.imooc.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *
 * @desc System.out.println(Feign.configKey(MyService.class, MyService.class.getMethod("retry", int.class)));
 * @author zkw
 * @date 2021-03-27
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableCircuitBreaker
public class HystrixFallbackApp {
    public static void main(String[] args) {
        SpringApplication.run(HystrixFallbackApp.class, args);
    }
}
